//
//  GHSAD_OrderInfoTableViewCell.m
//  penzer
//
//  Created by 还带大道 on 2018/11/22.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "GHSAD_OrderInfoTableViewCell.h"

@interface GHSAD_OrderInfoTableViewCell()
@property (weak, nonatomic) IBOutlet UIView *bgV;

@end

@implementation GHSAD_OrderInfoTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    //设置阴影
    _bgV.backgroundColor = [UIColor whiteColor];
    _bgV.layer.shadowColor = RZ_COLOR_ALPHA(0, 0, 0, 0.1).CGColor;
    _bgV.layer.cornerRadius = 5;
    _bgV.layer.shadowOffset = CGSizeMake(0,4);
    _bgV.layer.shadowOpacity = 1;
    _bgV.layer.shadowRadius = 15;
    [self.contentView layoutIfNeeded];
}


- (void)layoutSubviews
{
    [super layoutSubviews];
    self.bgV.layer.shadowPath = [UIBezierPath bezierPathWithRect:_bgV.bounds].CGPath;
}


- (IBAction)onClickCopy {
    !self.onClickBlock?:self.onClickBlock();
}

@end
